<?php $this->getWidget(array(), '\XLite\View\Form\Module\Manage', 'modules_manage_form')->display(); ?>

  <table cellspacing="0" cellpadding="0" class="data-table items-list modules-list">

    <?php $module = isset($this->module) ? $this->module : null; $_foreach_var = $this->getPageData(); if (isset($_foreach_var)) { $this->moduleArraySize=count($_foreach_var); $this->moduleArrayPointer=0; } if (isset($_foreach_var)) foreach ($_foreach_var as $this->idx => $this->module){ $this->moduleArrayPointer++; ?><tr  class="module-<?php echo func_htmlspecialchars($this->get('module')->getModuleId());?><?php if (!($this->get('module')->getEnabled())){?> disabled<?php }?>">
      <?php echo func_htmlspecialchars($this->displayInheritedViewListContent('columns',array('module'=>$this->get('module'))));?>
    </tr>
<?php } $this->module = $module; ?>

  </table>

  <div class="buttons modules-buttons">
    <?php $this->getWidget(array('label' => $this->t('Save changes'), 'style' => 'action'), '\XLite\View\Button\Submit')->display(); ?>
  </div>

<?php $this->getWidget(array('end' => '1'), null, 'modules_manage_form')->display(); ?>
